package com.tencent.sr.iris.activity.interfaces.client.activity;

import com.tencent.sr.iris.activity.interfaces.request.acticity.UserOpenAppRequest;
import com.tencent.sr.rmall.common.primitive.HttpResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "iris-activity-core-service", contextId = "UserEventReportClient",
        path = "/api/v1/iris/iris-activity-core-service/task/user/event")
public interface UserEventReportClient {

    @PostMapping("userOpenApp")
    HttpResult<Boolean> userOpenApp(@Validated @RequestBody UserOpenAppRequest request);
}
